package com.atguigu.spzx.manager.service;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.product.Brand;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-08-19:41
 */
public interface BrandService {
    List<Brand> findAll();

    PageInfo<Brand> page(Integer pageNum, Integer pageSize);

    void deleteById(Long id);

    Brand getById(Long id);

    void updateById(Brand brand);

    void save(Brand brand);

}
